package org.lease.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.lease.model.entity.ApartmentInfo;
import org.lease.model.entity.LabelInfo;
import org.lease.model.entity.RoomInfo;
import org.lease.model.vo.GraphVo;

import java.util.Date;
import java.util.List;

@Data
@Schema(description = "房间信息")
public class RoomItemDTO extends RoomInfo {
    @Schema(description = "租约结束日期")
    private Date leaseEndDate;

    @Schema(description = "当前入住状态")
    private Boolean isCheckIn;

    @Schema(description = "所属公寓信息")
    private ApartmentInfo apartmentInfo;

    @Schema(description = "房间图片列表")
    private List<GraphVo> graphVoList;

    @Schema(description = "房间标签列表")
    private List<LabelInfo> labelInfoList;
}
